/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.hotfixformetroapp.service;

import com.seari.hotfixformetroapp.bean.StationConfig;
import com.seari.hotfixformetroapp.mapper.StationConfigMapper;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author 60483
 */
@Service
public class StationConfigServiceImpl implements StationConfigService
{
    @Autowired
    private StationConfigMapper stationConfigMapper;
    
    @Override
    public List<StationConfig> getStationConfig()
    {
        return stationConfigMapper.getStationConfig();
    }

    @Override
    public void updateAxisToGcj(StationConfig stationConfig)
    {
        stationConfigMapper.updateAxisToGcj(stationConfig);
    }

    @Override
    public List<StationConfig> getDiffStationConfig()
    {
        return stationConfigMapper.getDiffStationConfig();
    }

    @Override
    public void insertJQDataToStationConfig(StationConfig stationConfig)
    {
        stationConfigMapper.insertJQDataToStationConfig(stationConfig);
    }
    
}
